package org.metasketch.editor.toolbox;

import javafx.scene.control.ToolBar;

import org.metasketch.editor.Project;
import org.metasketch.editor.toolbox.advanced.IDragSource;
import org.metasketch.editor.toolbox.advanced.ModelViewer;
import org.metasketch.graphics.Diagram;

public interface IDiagramType {

	public String getName();
	public Diagram create();
	public ToolBar getToolbar();
	public boolean isCompatible(String type);
	public Object createGraphicalDiagram(Diagram diagram, Project project) throws Throwable;
	public IInputHandler getInputHandler();
	public void setDragSource(IDragSource dragSource);
}
